_pppp_mmmm______cccc_rrrr_eeee_aaaa_tttt_eeee creates a policy module.
_pppp_mmmm______cccc_rrrr_eeee_aaaa_tttt_eeee______ssss_iiii_mmmm_pppp_llll_eeee creates a policy module with some predefined defaults.
_pppp_mmmm______ffff_iiii_llll_llll_dddd_eeee_ffff_aaaa_uuuu_llll_tttt fills a policy_set with predefined default values.
_pppp_mmmm______dddd_eeee_ssss_tttt_rrrr_oooo_yyyy destroys a policy module.
_pppp_mmmm______aaaa_tttt_tttt_aaaa_cccc_hhhh connects a policy module to a virtual address space range.
_pppp_mmmm______ssss_eeee_tttt_dddd_eeee_ffff_aaaa_uuuu_llll_tttt sets the default policy modules for a process' address
space.
PPPPaaaaggggeeee 1111
ppppmmmm((((3333)))) ppppmmmm((((3333))))
_pppp_mmmm______gggg_eeee_tttt_dddd_eeee_ffff_aaaa_uuuu_llll_tttt retrieves the current default policy modules associated
with a process' address space.
_pppp_mmmm______gggg_eeee_tttt_aaaa_llll_llll retrieves all the policy modules associated with an address
space range.
_pppp_mmmm______gggg_eeee_tttt_ssss_tttt_aaaa_tttt retrieves the current state of a policy module (policies and
parameters for a specific policy module).
_pppp_mmmm______ssss_eeee_tttt_pppp_aaaa_gggg_eeee_ssss_iiii_zzzz_eeee sets and synchronizes the page size for a policy module.
_pppp_mmmm______cccc_rrrr_eeee_aaaa_tttt_eeee and _pppp_mmmm______cccc_rrrr_eeee_aaaa_tttt_eeee______ssss_iiii_mmmm_pppp_llll_eeee will fail and a policy module will not be
created if one or more of the following are true:
_EEEE_BBBB_UUUU_SSSS_YYYY The policy module structures were temporarily in use by
another thread.
_EEEE_FFFF_AAAA_UUUU_LLLL_TTTT Arguments could not be copied into kernel space.
_EEEE_IIII_NNNN_VVVV_AAAA_LLLL One or more of the specified policy settings are invalid.
_pppp_mmmm______dddd_eeee_ssss_tttt_rrrr_oooo_yyyy will fail and the policy module will not be destroyed if the
following is true:
_EEEE_IIII_NNNN_VVVV_AAAA_LLLL The specified _pppp_mmmm______hhhh_aaaa_nnnn_dddd_llll_eeee is invalid or does not exist.
_pppp_mmmm______aaaa_tttt_tttt_aaaa_cccc_hhhh will fail and no policy module will be attached to a virtual
address space range if one or more of the following is true:
_EEEE_FFFF_AAAA_UUUU_LLLL_TTTT Arguments could not be copied into kernel space.
_EEEE_IIII_NNNN_VVVV_AAAA_LLLL The specified _pppp_mmmm______hhhh_aaaa_nnnn_dddd_llll_eeee is invalid or does not exist.
_EEEE_IIII_NNNN_VVVV_AAAA_LLLL The summation of the specified _bbbb_aaaa_ssss_eeee______aaaa_dddd_dddd_rrrr plus the _llll_eeee_nnnn_gggg_tttt_hhhh
are less than the specified _bbbb_aaaa_ssss_eeee______aaaa_dddd_dddd_rrrr. This condition can
occur if the _bbbb_aaaa_ssss_eeee______aaaa_dddd_dddd_rrrr plus _llll_eeee_nnnn_gggg_tttt_hhhh wrap around the upper
limit of the virtual address range.
_pppp_mmmm______ssss_eeee_tttt_dddd_eeee_ffff_aaaa_uuuu_llll_tttt will fail and the default policy modules will not be set if
the following is true:
_EEEE_IIII_NNNN_VVVV_AAAA_LLLL The specified memory type is invalid.
_pppp_mmmm______gggg_eeee_tttt_dddd_eeee_ffff_aaaa_uuuu_llll_tttt will fail and no values will be returned if one or more of
the following are true:
_EEEE_IIII_NNNN_VVVV_AAAA_LLLL The specified memory type is invalid.
_pppp_mmmm______gggg_eeee_tttt_aaaa_llll_llll will fail and no values will be returned if one or more of the
following are true:
PPPPaaaaggggeeee 2222
ppppmmmm((((3333)))) ppppmmmm((((3333))))
_EEEE_FFFF_AAAA_UUUU_LLLL_TTTT Arguments could not be copied into or out of kernel space.
_EEEE_IIII_NNNN_VVVV_AAAA_LLLL The specified list length is less than 1.
_EEEE_2222_BBBB_IIII_GGGG The specified list length is greater than the maximum
supported length.
_pppp_mmmm______gggg_eeee_tttt_ssss_tttt_aaaa_tttt will fail and the policy module state will not be retrieved if
one or more of the following are true:
_EEEE_FFFF_AAAA_UUUU_LLLL_TTTT Data could not be copied out of kernel space.
_EEEE_IIII_NNNN_VVVV_AAAA_LLLL The specified _pppp_mmmm______hhhh_aaaa_nnnn_dddd_llll_eeee is invalid or does not exist.
_pppp_mmmm______ssss_eeee_tttt_pppp_aaaa_gggg_eeee_ssss_iiii_zzzz_eeee will fail and the policy module page size will be
unaffected if one or more of the following is true:
_EEEE_IIII_NNNN_VVVV_AAAA_LLLL The specified _pppp_mmmm______hhhh_aaaa_nnnn_dddd_llll_eeee is invalid or does not exist.
_EEEE_IIII_NNNN_VVVV_AAAA_LLLL The specified page size is invalid.
Upon successful completion, _pppp_mmmm______cccc_rrrr_eeee_aaaa_tttt_eeee and _pppp_mmmm______cccc_rrrr_eeee_aaaa_tttt_eeee______ssss_iiii_mmmm_pppp_llll_eeee return a value
of type pmo_handle_t that represents the created policy module,
_pppp_mmmm______dddd_eeee_ssss_tttt_rrrr_oooo_yyyy and _pppp_mmmm______aaaa_tttt_tttt_aaaa_cccc_hhhh, _pppp_mmmm______gggg_eeee_tttt_dddd_eeee_ffff_aaaa_uuuu_llll_tttt, _pppp_mmmm______ssss_eeee_tttt_dddd_eeee_ffff_aaaa_uuuu_llll_tttt, _pppp_mmmm______gggg_eeee_tttt_aaaa_llll_llll,
_pppp_mmmm______gggg_eeee_tttt_ssss_tttt_aaaa_tttt and _pppp_mmmm______ssss_eeee_tttt_pppp_aaaa_gggg_eeee_ssss_iiii_zzzz_eeee return 0. Otherwise, a value of -1 is
returned and _e_r_r_n_o is set to indicate the error.